<link type="text/css" href="<?=$base_url;?>images/js/jqueryui/css/smoothness/jquery-ui-1.8.24.custom.css" rel="stylesheet" />
<script type="text/javascript" src="<?=$base_url;?>images/js/jqueryui/js/jquery-ui-1.8.24.custom.min.js"></script>
<script type="text/javascript" src="<?=$base_url;?>images/js/jquery.validate.js?v1"></script>
<script type="text/javascript">
$(document).ready(function(){
    $("#frmContact").validate({
        rules:{
            name:{
                required:true
            },
            phone:{
                required:true
            },
            address:{
                required:true
            },
            city:{
                required: true
            },
            country:{
                required: true
            }
        } ,
        messages:{
            name:{
                required: "Vui lòng nhập họ và tên"
            },
            phone:{
                required: "Vui lòng nhập số điện thoại"
            },
            address:{
                required: "Vui lòng nhập địa chỉ"
            },
            city:{
                required: "Vui lòng nhập thành phố"
            },
            country:{
                required: "Vui lòng chọn quốc gia"
            }
        }
    });
});
</script>
<div class="col-right fl">
    <div class="productSellers">
        <div class="titleconstructioncol2"><h1><?=lang('confirminfomation');?></h1></div>
        <span class="line730"></span>
        <div class="news">
            <form class="form-register" id="frmContact" name="frmContact" method="post" action="<?=$base_url.$this->lang->lang()?>/customer-confirm">
                <span class="rowLabel"></span>
                <span class="rowLabel"><?=lang('name')?> <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input type="text" name="name" id="name" value="<?=$customer->name;?>" /></span>
                <span class="rowLabel"><?=lang('email')?> <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input readonly="readonly" type="text" name="email" id="email" value="<?=$customer->email;?>" /></span>
                <span class="rowLabel"><?=lang('password')?> <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input readonly="readonly" type="password" name="password" id="password" value="<?=$customer->password;?>" /></span>
                <span class="rowLabel"><?=lang('re-password')?> <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input readonly="readonly" type="password" name="repassword" id="repassword" value="<?=$customer->password;?>" /></span>
                <span class="rowLabel"><?=lang('phone')?> <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input type="text" name="phone" id="phone" value="<?=$customer->mobilePhone;?>" /></span>
                <span class="rowLabel"><?=lang('address')?> <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input type="text" name="address" id="address" value="<?=$customer->address;?>" /></span>
                <span class="rowLabel"><?=lang('gender')?> <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput">
                    <label style="color: #FF9300;"><input type="radio" name="sex" value="0" <?php if($customer->sex == 0) echo 'checked="checked"'; ?> /> <?=lang('male')?></label>
                    <label style="color: #FF9300;"><input type="radio" name="sex" value="1" <?php if($customer->sex == 1) echo 'checked="checked"'; ?> /> <?=lang('female')?></label>
                </span>
                <span class="rowLabel"><?=lang('city')?> <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input type="text" name="city" id="city" value="<?=$customer->city;?>" /></span>
                <span class="rowLabel"><?=lang('country')?>: <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input type="text" name="country" id="country" value="<?=$customer->country;?>" /></span>
                <span class="rowLabel"><?=lang('totalamount')?>: <span style="display: inline-block; color: red;">(*)</span></span>
                <span class="rowInput"><input readonly="readonly" type="text" name="total" id="country" value="<?=number_format($this->cart->total(), 0, ',', '.').' VND'?>" /></span>
                <span class="rowInput" >
                    <input type="submit" class="button" value="<?=lang('completed')?>" />
                </span>
            </form>
        </div>
    </div>
</div>

